package hk.edu.uic.hejing.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author hejing
 * @since 2017-06-01
 */
@SuppressWarnings("serial")
public class ItemScore extends Model<ItemScore> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
	private String studentid;
	private Integer rubricid;
	private Integer ruleid;
	private String item;
	private String score;
	private String classes;
	private int x;
	private int y;

	@Override
	public String toString() {
		return "ItemScore{" +
				"id=" + id +
				", studentid='" + studentid + '\'' +
				", rubricid=" + rubricid +
				", ruleid=" + ruleid +
				", item='" + item + '\'' +
				", score='" + score + '\'' +
				", classes='" + classes + '\'' +
				", x=" + x +
				", y=" + y +
				'}';
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public String getClasses() {
		return classes;
	}

	public void setClasses(String classes) {
		this.classes = classes;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getStudentid() {
		return studentid;
	}

	public void setStudentid(String studentid) {
		this.studentid = studentid;
	}

	public Integer getRubricid() {
		return rubricid;
	}

	public void setRubricid(Integer rubricid) {
		this.rubricid = rubricid;
	}

	public Integer getRuleid() {
		return ruleid;
	}

	public void setRuleid(Integer ruleid) {
		this.ruleid = ruleid;
	}

	public String getItem() {
		return item;
	}

	public void setItem(String item) {
		this.item = item;
	}

	public String getScore() {
		return score;
	}

	public void setScore(String score) {
		this.score = score;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
